package com.biscuit.page.basicservice.api.model.response.chat;

import com.biscuit.common.base.BaseAMO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

/**
 * @author biscuit
 * @createTime 2024/6/11 9:18
 */
@Getter
@Setter
public class ChatRoomMessageAResp extends BaseAMO {

    @ApiModelProperty("聊天室ID")
    private Long chatRoomId;

    @ApiModelProperty("聊天室名称")
    private String chatRoomName;

    @ApiModelProperty("消息Id")
    private Long messageId;

    @ApiModelProperty("消息发送人")
    private Long userId;

    @ApiModelProperty("昵称")
    private String nickName;

    @ApiModelProperty("用户uId")
    private String userUid;

    @ApiModelProperty("消息内容")
    private String message;

    @ApiModelProperty("消息发布时间（非后台创建时间）")
    private LocalDateTime publishTime;

}
